//
//  Created by inno on 11/12/11.
//
// To change the template use AppCode | Preferences | File Templates.
//


#import "LoginRequest.h"
#import "UrlBuilder.h"


@implementation LoginRequest

@synthesize url, username, password;

- (NSString *)getUrl {
    builder.baseUrl = [self url];
    builder.action = @"login";
    [builder addArgument:@"username" with:[self username]];
    [builder addArgument:@"password" with:[self password]];
    [builder addArgument:@"ts" with:[self createTimestamp]];
    return [builder getUrl];
}

@end